package com.hxzy.controller.vue.product.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author wy
 * @Description 状态变化
 * @Date 2023/9/18 14:39
 * @Version 1.0
 */
@Getter
@Setter
@ToString
@ApiModel(value = "产品上下架")
public class IsGroudingChangeReq {

    @ApiModelProperty(value = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 是否上架 1：上架 ，0：没上架
     */
    @ApiModelProperty(value = "是否上架 (1：上架 ，0：下架)")
    @NotBlank(message = "是否上架不能为空")
    private String isgrounding;
}
